<?php

namespace app\repositories\contracts;

/***
 * Interface RootInterface
 * @NAMESPACE app\repositories\contracts
 * @Author Vee7
 * @Date 2021/12/14
 * @Time 13:11
 * @Description 管理员权限验证接口
 */
interface AdminAuthInterface
{
    public function checkLogin(array $loginData);

    public function checkPassword($username,$password);

    public function getRootData($username);

    public function checkStatus($rootData);
}